﻿@model Infinity.BusinessLayer.CategoryViewModel

@{
    ViewBag.Title = "NewCategory";
    Layout = "~/Areas/Managerial/Views/Shared/_AdminLayout.cshtml";
}
<span style="color:red">
    @Html.ValidationSummary()
</span>
    <section class="course-form">
        <h2> <strong>Add New Category</strong></h2>

        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <span class="input input--jiro">
                <label class="" for="input-10" style="color:gray">
                    <span class="input__label-content input__label-content--jiro">
                        &nbsp;&nbsp; @Html.HiddenFor(model => model.CategoryID)
                        Category ID
                        &nbsp;&nbsp;&nbsp;
                        @Model.CategoryID

                    </span>
                </label>
            </span>
            <br />
            <span class="input input--jiro">
                <input class="input__field input__field--jiro" type="text" name="Category_Name" id="Category_Name" />
                <label class="input__label input__label--jiro " for="input-10">
                    <span class="input__label-content input__label-content--jiro">
                        Category Name
                        @*<span class="star">@Html.ValidationMessageFor(model => model.Category_Name)</span>*@
                    </span>
                </label>
            </span>

            <div class="col-md-12 text-center send3">
                <input type="submit" class="send" id="InsertCate" value="Create" />
                @Html.ActionLink("Back to List", "Index", null, new { @class = "send" })
            </div>
        }


    </section>
    <div style="height:240px"></div>
